package id.co.rho.scoring.cid.client.utils;

import com.extjs.gxt.ui.client.Registry;
import com.extjs.gxt.ui.client.mvc.Dispatcher;

import id.co.rho.scoring.cid.client.mvc.AppEvents;

/**
 * Created by IntelliJ IDEA.
 * User: frizky
 * Date: 10/19/11
 * Time: 9:49 AM
 */
public class DummyLoginCheck implements LoginCheck {
    @Override
    public void checkCookie() {
        Registry.register("inboxCount", 0);
        Dispatcher.forwardEvent(AppEvents.LoginSuccess);
    }
}
